﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace yq.Search.User
{
    /// <summary>
    /// 账号查询
    /// </summary>
    [Serializable]
    public class AccountSeek
    {

        /// <summary>
        /// 昵称
        /// </summary>
        private String _NickName = "";

        /// <summary>
        /// 昵称
        /// </summary>
        [Display(Name = "昵称")]
        public String NickName
        {
            get
            {
                return (this._NickName);
            }

            set
            { 
                _NickName = value;
            }
        }


        /// <summary>
        /// 状态
        /// </summary>

        private int _State = -1;

        /// <summary>
        /// 状态
        /// </summary>
        [Display(Name = "状态")]
        public yq.Enums.UserAccount.State State
        {
            get
            {
                return (yq.Enums.UserAccount.State)this._State;
            }

            set
            {
                _State = value.GetHashCode();
            }
        }


        /// <summary>
        /// 权限组ID
        /// </summary>
        private int _PurviewEnum = -1;

        /// <summary>
        /// 权限组ID
        /// </summary>
        [Display(Name = "权限组")]
        public yq.Enums.UserAccount.PurviewEnum PurviewEnum
        {
            get
            {
                return (yq.Enums.UserAccount.PurviewEnum)this._PurviewEnum;
            }

            set
            {
                _PurviewEnum = value.GetHashCode();
            }
        }


        yq.Dictionary.PageModel _Pager=new Dictionary.PageModel();

        /// <summary>
        /// 分页
        /// </summary>
        public yq.Dictionary.PageModel Pager
        {
            get { return _Pager; }
            set { _Pager = value; }
        }

    }
}
